@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap");

* {
  margin: 3;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  cursor: url(vinn.png) 25 25, pointer;
}
a:hover {
  cursor: url(hovervinn.png) 25 25, pointer;
}

body {
  padding: 1em 6em 1em 2em;
}

a:link {
  color: rgb(81, 81, 81);
  background-color: transparent;
}

a:visited {
  color: rgb(81, 81, 81);
}

#logo img {
  width: 100px;
  /* left: 40px; */
}

#mywork {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 80px;
  color: rgb(81, 81, 81);
}
.titles {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 30px;
  color: rgb(81, 81, 81);
  margin-top: 2em;
}
#darbi {
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; */
  display: flex;
  grid-template-columns: 0.15fr 0.15fr 0.15fr 0.15fr;
  margin-top: 2em;
}

#darbii img {
  width: auto;
  height: 150px;
  transition: 1s ease;
}
#darbii {
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; */
  display: flex;
  grid-template-columns: 0.15fr 0.15fr 0.15fr 0.15fr;
  margin-top: 2em;
}

#darbi img {
  width: auto;
  height: 150px;
  transition: 1s ease;
}

#darbi1 {
  display: flex;
  grid-template-columns: 0.15fr 0.15fr 0.15fr 0.15fr;
  margin-top: 2em;
}

#darbi1 img {
  width: auto;
  height: 150px;
  transition: 1s ease;
}

.imagewrapper img {
  width: 90%;
  max-width: 500px;
}

@media screen and (max-width: 640px) {
  #logo img {
    width: 60px;
  }
  #mywork {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 58px;
    color: rgb(81, 81, 81);
  }
  #darbii img {
    width: auto;
    height: 150px;
    transition: 1s ease;
  }
  #darbii {
    /* display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; */
    display: list-item;
    list-style: none;
    grid-template-columns: 0.15fr 0.15fr 0.15fr 0.15fr;
    margin-top: 2em;
  }

  /* #darbi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 2em;
  }

  #darbi img {
    width: 100%;
    transition: 1s ease;
    display: flexbox;
    direction: column;
  }

  .imagewrapper img {
    width: 100%;
    max-width: 500px;
  } */
}
